package com.jzo2o.market.service;

import com.jzo2o.common.model.PageResult;
import com.jzo2o.market.model.dto.request.ActivityQueryForPageReqDTO;
import com.jzo2o.market.model.dto.request.ActivitySaveReqDTO;
import com.jzo2o.market.model.dto.response.ActivityInfoResDTO;

/**
 * @author LeeC
 * @description
 * @date 2025/2/11
 * @PACKAGE_NAME com.jzo2o.market.service
 */
public interface IActivityService {
    void save(ActivitySaveReqDTO activitySaveReqDTO);

    PageResult<ActivityInfoResDTO> page(ActivityQueryForPageReqDTO pageReqDTO);

    ActivityInfoResDTO getById(Long id);

    void revoke(Long id);
}
